from playLA.Matrix import Matrix
from playLA.Vector import Vector

if __name__ == "__main__":
    matrix = Matrix([[1,2],[3,4]])

    # print(matrix)

    # arr = [1,2,3]

    # print(arr)
    # print(arr[:])

    # print(matrix.shape())
    # print(matrix.size())
    # print(len(matrix))
    
    # print(matrix.row_vector(1))
    # print(matrix.col_vector(1))

    # matrix2 = Matrix([[5,6],[7,8]])

    # print(matrix + matrix2)
    # print(matrix - matrix2)

    # print(matrix*3)
    # print(3*matrix)
    # print(matrix/2)
    # print(-matrix)
    # print(Matrix.zero(2,3))

    # T = Matrix([[1,5],[0,2]])
    # p = Vector([5,3]) # 向量表示的是一列

    # print(T.dot(p))

    # p = Matrix([[0,4,5],[0,0,3]])

    # print(T.dot(p))

    # print(p.T())

    print(Matrix.identity(3))

    pass